<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create Job Posting Here</title>
<link rel="stylesheet" type="text/css" href="css/view.css" media="all">
</head>

<body id="main_body" >
<!-- 
I need these data from here:
`usertable`.`idusertable`, `usertable`.`firstname`, `usertable`.`lastname`, 
`usertable`.`email`, `usertable`.`password`, `usertable`.`isstudent`, 
`usertable`.`isemployer`, `usertable`.`city`, `usertable`.`state`, `usertable`.`zipcode`
 -->	

<!-- 
<s:form action="add" method="post">
	<s:textfield name="contact.firstName" label="Firstname"/>
	<s:textfield name="contact.lastName" label="Lastname"/>
	<s:textfield name="contact.emailId" label="Email"/>
	<s:textfield name="contact.cellNo" label="Cell No."/>
	<s:textfield name="contact.website" label="Homepage"/>
	<s:textfield name="contact.birthDate" label="Birthdate"/>
	<s:submit value="Add Contact" align="center"/>
</s:form>
 -->

	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
	<div class="header">
		 <div id="mymenu">
		 <ul>
		 <li>
		 	<a class="color2" href="CreateJob">Create Jobs</a>
		 </li>
		 
		 <li>
		 	<a class="color2" href="searchemployees.jsp">Find Candidates</a>
		 </li>

			 
			 <li>
		 	<a class="color2" href="LogoutAction">Logout</a>
		 </li>	
		 
		 </ul>

 		
       </div> 
        </div>

 
		<div class="form_description">
			<h2>Create Job Here:</h2>
		</div>	

	<table><tr><td  width="140px"></td><td>				
	
		<s:form action="createJob"  class="appnitro"  method="post">
				<s:textfield label="Enter Ogranization" id="element_1" name="jobDetails.organisation" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textfield label="Enter Title" id="element_2" name="jobDetails.title" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textfield label="Enter Salary" id="element_3" name="jobDetails.salary" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textfield label="Enter Job City" id="element_4" name="jobDetails.city" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textfield label="Enter Job State" id="element_5" name="jobDetails.state" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textarea label="Enter Description" id="element_6" name="jobDetails.description" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:textfield label="Enter Contact Info" id="element_7" name="jobDetails.contact" class="element text medium" type="text" maxlength="45" value=""/> 
				<s:select label="Select Skill 1" id="element_8" name="jobDetails.skill1" size="1"   headerKey=""  headerValue="-- Please Select --"     
				list="#{'1':'Web Development','2':'Java','3':'Library Management','4':'Cashier','5':'Chef'}"
					/>
				<s:select label="Select Skill 2" id="element_9" name="jobDetails.skill2" size="1"   headerKey=""  headerValue="-- Please Select --"     
				list="#{'1':'Web Development','2':'Java','3':'Library Management','4':'Cashier','5':'Chef'}"
					/>
				<s:select label="Please select day of class" id="element_10" multiple="true" name="daysofweek" size="7"        
				list="#{'1':'Monday','2':'Tuesday','3':'Wednesday','4':'Thursday','5':'Friday','6':'Saturday','7':'Sunday'}"
					/>			
				<s:select label="Please select a start time" id="element_11" name="startTime" size="1"      
				list="#{'6:00:00':'6:00 am','6:30:00':'6:30 am','7:00:00':'7:00 am','7:30:00':'7:30 am','8:00:00':'8:00 am','6':'8:30 am',
						'7':'9:00 am','8':'9:30 am','9':'10:00 am'}"/>
				<s:select label="Please select end time" id="element_12" name="endTime" class="element text medium" 
				size="1" 
				list="#{'6:00:00':'6:00 am','6:30:00':'6:30 am','7:00:00':'7:00 am','7:30:00':'7:30 am','8:00:00':'8:00 am','6':'8:30 am',
						'7':'9:00 am','8':'9:30 am','9':'10:00 am'}"/>
							
			<br/>
			
			<br><s:submit value="Create Job" cssStyle="margin-top:20px" class="button_text" name="submit" cssClass="classname" align="center"/>
				
		</s:form>	
		</td>
		</tr>
		</table>	
		<div id="footer"><br/>
			©Team Bazinga

		</div>
	</div>
	<img id="bottom" src="register_files/bottom.png" alt="">
	</body>

</html>

